package main

import "fmt"

func main() {
	c := make(chan int, 1024) //1024是缓冲区大小。
	for i := range c {
		fmt.Println("Received:", i)
	}
}
